<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/11/29
 * Time: 10:28
 */

namespace vendor\core;
class order
{
    //构造函数
    public function __construct()
    {
        echo '创建订单方法';
    }
    public function dt(){
        echo '订单内容';
    }
    //析构函数
    public function __destruct()
    {
        echo'<br/>';
        echo '取消订单方法';
    }
}